package com.education.platform.management.service.impl;

import com.education.platform.common.service.impl.BaseServiceImpl;
import com.education.platform.dao.AccountFlowDao;
import com.education.platform.dao.entity.AccountFlowDO;
import com.education.platform.dao.model.AccountFlowModel;
import com.education.platform.management.service.AccountFlowService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* describe: 账户流水
* @author : tomato
* @date: 2020-06-29 10:28:06.885
**/
@Service
public class AccountFlowServiceImpl extends BaseServiceImpl<AccountFlowDao, AccountFlowDO> implements AccountFlowService {

	private static final Logger LOGGER = LoggerFactory.getLogger(AccountFlowServiceImpl.class);

    @Autowired
	private AccountFlowDao accountFlowDao;


    /**
     * 获取历史豆赠送记录
     *
     * @param flowModel 条件
     * @return
     */
    @Override
    public List<AccountFlowModel> getGiveBeansRecord(AccountFlowModel flowModel) {
        return accountFlowDao.getGiveBeansRecord(flowModel);
    }
}
